package com.czk.pojo;

import com.thoughtworks.xstream.annotations.XStreamAlias;
import lombok.ToString;

import java.util.Map;

/**
 * @Author:ChenZhangKun
 * @Date: 2021/8/2 15:13
 */
@ToString
@XStreamAlias("xml")
public class MusicMessage extends BaseMessage{
    @XStreamAlias("Music")
   private Music music;

    public MusicMessage(Map<String, String> map, Music music) {
        super(map);
        this.music = music;
        this.setMsgType("music");
    }

    public Music getMusic() {
        return music;
    }

    public void setMusic(Music music) {
        this.music = music;
    }
}
